package com.cui.demoshiro.service.user.impl;

import com.cui.demoshiro.dao.user.UserDao;
import com.cui.demoshiro.pojo.User;
import com.cui.demoshiro.service.user.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao ;

    @Override
    public User getUserByLoginCode(String loginCode) {
        return userDao.getUserByLoginCode(loginCode);
    }
}
